-- GENERATED SPELL FOR [Deep Pool Threshfin] --


function spell0_4827(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4827', 8000, 1)
end

function Sorts_4827(pUnit, Event)
local choix_sorts_4827 = math.random(0, 0)
if choix_sorts_4827 == 0 then
pUnit:RegisterEvent('spell0_4827', 1, 1)
end
end

function mob4827_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4827', math.random(1500, 3000), 1)
end

function mob4827_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4827_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4827_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4827, 1, 'mob4827_Action')
RegisterUnitEvent(4827, 2, 'mob4827_Leave')
RegisterUnitEvent(4827, 3, 'mob4827_Kill')
RegisterUnitEvent(4827, 4, 'mob4827_Die')
